package com.menu.utils;

/**
 * author: MaHX
 * date: 2019/8/10/1:59
 * description: 动态位数随机数生成类
 **/
public class RandomUtil {
    public static String randomBuilder(int digit){
        String result = "";
        for(int i=0;i<digit;i++){
            result += Math.round(Math.random() * 9);
        }
        return result;

    }
}
